﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebUI.Student
{
    public partial class MyReservation : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Model.Users u = BLL.UsersManage.SelectByUsername(User.Identity.Name);
            Grid1.DataSource = BLL.OpenReservationMange.GetList(" userid = "+ u.id );
            Grid1.DataBind();
        }
    }
}